package com.qinggeng.project.system.mapper;

import java.util.List;
import com.qinggeng.project.system.domain.UserWithdraw;

/**
 * 用户提现Mapper接口
 * 
 * @author qinggeng
 * @date 2020-06-30
 */
public interface UserWithdrawMapper 
{
    /**
     * 查询用户提现
     * 
     * @param withdrawId 用户提现ID
     * @return 用户提现
     */
    public UserWithdraw selectUserWithdrawById(Long withdrawId);

    /**
     * 查询用户提现列表
     * 
     * @param userWithdraw 用户提现
     * @return 用户提现集合
     */
    public List<UserWithdraw> selectUserWithdrawList(UserWithdraw userWithdraw);

    /**
     * 新增用户提现
     * 
     * @param userWithdraw 用户提现
     * @return 结果
     */
    public int insertUserWithdraw(UserWithdraw userWithdraw);

    /**
     * 修改用户提现
     * 
     * @param userWithdraw 用户提现
     * @return 结果
     */
    public int updateUserWithdraw(UserWithdraw userWithdraw);

    /**
     * 删除用户提现
     * 
     * @param withdrawId 用户提现ID
     * @return 结果
     */
    public int deleteUserWithdrawById(Long withdrawId);

    /**
     * 批量删除用户提现
     * 
     * @param withdrawIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteUserWithdrawByIds(Long[] withdrawIds);
}
